<?php


namespace App\Controller;


use App\Ability\ApiResponse;

class UserController extends AbstractController
{
    use ApiResponse;

    public function profile()
    {
        //TODO  根据id查找用户
        return $this->success([
            "user"=>[
                "user_id" => $this->request->input("user_id"),
                "user_name" => sprintf("user-%s",uniqid()),
                "level" => 99,
            ]
        ]);
    }
}